﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Banner.ascx.cs" Inherits="OnlineMovieTicket.WebForms.UserControl.Banner" %>


<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<script runat="Server" type="text/C#">
        [System.Web.Services.WebMethod]
        [System.Web.Script.Services.ScriptMethod]
        public static AjaxControlToolkit.Slide[] GetSlides()
        {
            AjaxControlToolkit.Slide[] slides = new AjaxControlToolkit.Slide[3];

            slides[0] = new AjaxControlToolkit.Slide("http://localhost:53321/Images/banner1.jpg", "banner3", "Sony");
            slides[1] = new AjaxControlToolkit.Slide("http://localhost:53321/Images/banner2.jpg", "banner2", "The Movie");
            slides[2] = new AjaxControlToolkit.Slide("http://localhost:53321/Images/banner3.jpg", "banner1", "The Planes");

        return(slides);        }
</script>


&nbsp; &nbsp;



<asp:Image ID="Image1" runat="server" Height="90px" Width="728px" ImageUrl="~/Images/banner1.jpg"/><br />

